﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;

namespace NlpTrainApp.Bll.Model.Dao
{

    [JsonObject(MemberSerialization.OptIn), Table(Name = "labels_segmentation", DisableSyncStructure = true)]
    public partial class Labels_segmentation
    {

        [JsonProperty, Column(Name = "id", IsPrimary = true)]
        public int Id { get; set; }

        [JsonProperty, Column(Name = "label_id", DbType = "BIGINT")]
        public long Label_id { get; set; }

        [JsonProperty, Column(Name = "user_id")]
        public int User_id { get; set; }

        [JsonProperty, Column(Name = "uuid", DbType = "CHAR(32)", IsNullable = false)]
        public string Uuid { get; set; }

        [JsonProperty, Column(Name = "prob", DbType = "REAL")]
        public float Prob { get; set; }

        [JsonProperty, Column(Name = "manual", DbType = "BOOL", IsNullable = false)]
        public string Manual { get; set; }

        [JsonProperty, Column(Name = "created_at")]
        public DateTime Created_at { get; set; }

        [JsonProperty, Column(Name = "updated_at")]
        public DateTime Updated_at { get; set; }

        [JsonProperty, Column(Name = "points", StringLength = -2, IsNullable = false)]
        public string Points { get; set; }

        [JsonProperty, Column(Name = "example_id", DbType = "BIGINT")]
        public long Example_id { get; set; }

    }

}
